/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package view;
import java.io.File;
import javax.swing.Icon;
import javax.swing.ImageIcon;
/**
 *
 * @author Alex
 */
public class RowParentFolder {
    private Icon _icon = new ImageIcon("images/up.png");
    private String _name = "[..]";
    private File _dir;

    /**Row Parent Folder
     * @param dir đối tượng kiểu File
     */
    public RowParentFolder(File dir)
    {
        _dir = dir;
    }

    /**Get Dir
     * @return  _dir: đối tượng kiểu File
     */
    public File getDir()
    {
        return _dir;
    }

    /**Get Icon
     * @return  _icon: đối tượng kiểu Icon
     */
    public Icon getIcon()
    {
        return _icon;
    }

    /**Get Name
     * @return  _name: đối tượng kiểu String
     */
    public String getName()
    {
        return _name;
    }
}
